package com.example.demo.entity.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/*
 * @Author:大力王
 * @Date:2024/6/2-02-10:48
 * 开始了
 */
@Data
@ApiModel(value = "UserVO对象", description = "用于网页登录")
public class UserWebLoginVO {
    @NotNull(message = "nickPheName 不能为空")
    @Size(min = 1, max = 50, message = "nickPheName 长度必须在1到50个字符之间")
    @ApiModelProperty("网页登录的昵称或电话号码")
    private String nickPheName;

    @NotNull(message = "userPassword 不能为空")
    @Size(min = 1, max = 50, message = "userPassword 长度必须在1到50个字符之间")
    @ApiModelProperty("网页登录的密码")
    private String userPassword;
}
